package com.lj.demo.servicebase.exception;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: liujiang
 * @Date: 2020/11/16/21:53
 * @Description:
 */
@Data
@AllArgsConstructor //生成有参构造方法
@NoArgsConstructor   //生成无参构造方法
public class AException extends RuntimeException{

    @ApiModelProperty(value = "状态码")
    private Integer code;

    private String msg;

}
